<?php

namespace app\api\validate;

use think\Validate;

class Order extends Validate{
    protected $rule = [
        'goods_id' => 'require|integer',
        'goods_num' => 'require|integer',
        'address_id' => 'require|integer',
    ];

    protected $message = [
        'goods_id' => '商品id格式错误',
        'goods_num' => '商品数量格式错误',
        'address_id' => '收货地址错误',
    ];

}







